import http from '@/utils/requset'

//获取省市区
export const getAddress = (params?: any) => {
    return http.request({
        url: `/common/getAddress`,
        method: 'GET',
        params
    })
}
//获取省市区
export const upload = (data?: any) => {
    return http.request({
        url: `/upload`,
        method: 'POST',
        headers: {
            "Content-Type": "multipart/form-data"
        },
        data
    })
}